﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Blade.IO;
using System.IO;
using System.Collections;

namespace Blade.Metadata.CliLoader {
	public abstract class TableReader : BinaryReader {
		public TableReader(Stream stream)
			: base(stream) { }

		public abstract string ReadStringReference();
		public abstract Guid ReadGuidReference();
		public abstract byte[] ReadBlobReference();

		public abstract MetadataToken ReadResolutionScope();

		public int RowCount { get; private set; }
		public int RowSize { get; private set; }
	}
}
